package org.geektimes.web.mvc.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
 * REST 控制器（标记接口）
 *
 * @since 1.0
 */
public interface RestController extends Controller {
    /**
     * 前端请求逻辑处理方法
     * @param request
     * @param response
     * @return
     */
    String handleRequest(HttpServletRequest request, HttpServletResponse response);
}
